home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revolution - Das Atari CD Magazin 1997
/
Revolution - Das Atari CD Magazin 1.iso
/
software
/
anwendng
/
qed_397
/
sourcen
/
find.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-01-04
|
1KB
|
55 lines
#ifndef _qed_find_h_
#define _qed_find_h_
#include "memory.h"
#include "text.h"
/* Größe des History-Puffers für Suchstrings */
#define HIST_ANZ 10
#define HIST_LEN 55
#define RP_FIRST 0
#define RP_ALL 1
#define RP_OPT 2 /* Werte von 'r_modus' */
EXTERN BOOLEAN s_grkl, s_quant, s_wort, s_runter, s_global, s_round,
df_rekursiv;
EXTERN WORD r_modus, rp_box_x, rp_box_y;
EXTERN UBYTE r_str[HIST_LEN+1], s_str[HIST_LEN+1],
s_history[HIST_ANZ][HIST_LEN+1],
df_name[MUSTER_LEN+1];
typedef enum {Atari, Latin, Mac, PC, LaTeX, HTML, ASCII} UmlautEncoding;
EXTERN UmlautEncoding umlaut_from,
umlaut_to;
EXTERN VOID set_suchmode (UBYTE *Muster, BOOLEAN Grkl, BOOLEAN Quantor,
BOOLEAN Runter, BOOLEAN Wort, BOOLEAN Global,
BOOLEAN Round);
EXTERN WORD start_find (TEXTP t_ptr, BOOLEAN quiet);
EXTERN WORD start_replace (TEXTP t_ptr, BOOLEAN special);
EXTERN WORD do_next (TEXTP t_ptr);
EXTERN BOOLEAN filematch (CONST UBYTE *filename, CONST UBYTE *m);
/*
* Testet auf Gleichheit von Dateiname und Muster.
* Wertet dabei caseSens korrekt aus.
*/
EXTERN VOID change_umlaute (TEXTP t_ptr);
/* Umlaute im Text konvertieren */
/* Dialoge */
EXTERN WORD find_dial (BOOLEAN in_prj);
EXTERN BOOLEAN diskfind_dial (UBYTE *df_path, UBYTE *df_name);
EXTERN BOOLEAN umlaut_dial (VOID);
#endif